package com.dgut.sales.bean;

import java.util.List;

public class Customer {
	private Integer customerId;
	private String customerName;
	private Integer customerAge;
	private String customerPhone;
	private String address;
	private List<Contract> contract;
	
	public Customer() {
		super();
	}
	
	public Customer(Integer customerId, String customerName, Integer customerAge, String customerPhone, String address,
			List<Contract> contract) {
		super();
		this.customerId = customerId;
		this.customerName = customerName;
		this.customerAge = customerAge;
		this.customerPhone = customerPhone;
		this.address = address;
		this.contract = contract;
	}

	public Integer getCustomerId() {
		return customerId;
	}
	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	public Integer getCustomerAge() {
		return customerAge;
	}
	public void setCustomerAge(Integer customerAge) {
		this.customerAge = customerAge;
	}
	public String getCustomerPhone() {
		return customerPhone;
	}
	public void setCustomerPhone(String customerPhone) {
		this.customerPhone = customerPhone;
	}
	
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public List<Contract> getContract() {
		return contract;
	}
	public void setContract(List<Contract> contract) {
		this.contract = contract;
	}
	@Override
	public String toString() {
		return "Customer [customerId=" + customerId + ", customerName=" + customerName + ", customerAge=" + customerAge
				+ ", customerPhone=" + customerPhone + "]";
	}
	
}
